package com.automannn.atm_back.modules.codeGenerator.handler;

import com.automannn.atm_back.modules.codeGenerator.entity.ColumnConfigEntity;
import org.springframework.stereotype.Component;

/**
 * @author chenkh
 * @time 2020/8/5 9:31
 */
@Component
public class SimpleFormItemRuleHandler implements FormItemRuleHandler {
    @Override
    public void handle(ColumnConfigEntity columnConfigEntity) {
        //todo: 完善
        columnConfigEntity.setFormItemRules("1");
        columnConfigEntity.setFormItemSourceType("1");
        columnConfigEntity.setFormItemSource("1");
        columnConfigEntity.setFormItemType("1");
    }
}
